# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'main.ui'
##
## Created by: Qt User Interface Compiler version 6.5.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QGridLayout, QLabel, QLayout,
    QLineEdit, QPushButton, QSizePolicy, QSpinBox,
    QTextEdit, QWidget)

class Ui_Form(object):
    def setupUi(self, Form):
        if not Form.objectName():
            Form.setObjectName(u"Form")
        Form.setEnabled(True)
        Form.resize(530, 400)
        Form.setMinimumSize(QSize(530, 400))
        Form.setMaximumSize(QSize(530, 400))
        icon = QIcon()
        icon.addFile(u"icon/ncm_decrypt.ico", QSize(), QIcon.Normal, QIcon.Off)
        Form.setWindowIcon(icon)
        self.gridLayoutWidget = QWidget(Form)
        self.gridLayoutWidget.setObjectName(u"gridLayoutWidget")
        self.gridLayoutWidget.setGeometry(QRect(10, 10, 511, 381))
        self.gridLayout = QGridLayout(self.gridLayoutWidget)
        self.gridLayout.setObjectName(u"gridLayout")
        self.gridLayout.setSizeConstraint(QLayout.SetMaximumSize)
        self.gridLayout.setContentsMargins(0, 0, 0, 0)
        self.ncmFilePath = QLineEdit(self.gridLayoutWidget)
        self.ncmFilePath.setObjectName(u"ncmFilePath")
        self.ncmFilePath.setReadOnly(True)

        self.gridLayout.addWidget(self.ncmFilePath, 0, 1, 1, 1)

        self.btnTransform = QPushButton(self.gridLayoutWidget)
        self.btnTransform.setObjectName(u"btnTransform")
        self.btnTransform.setMinimumSize(QSize(0, 40))
        font = QFont()
        font.setPointSize(12)
        self.btnTransform.setFont(font)

        self.gridLayout.addWidget(self.btnTransform, 0, 3, 3, 1)

        self.labelMaxWorkers = QLabel(self.gridLayoutWidget)
        self.labelMaxWorkers.setObjectName(u"labelMaxWorkers")
        self.labelMaxWorkers.setEnabled(True)
        sizePolicy = QSizePolicy(QSizePolicy.Preferred, QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.labelMaxWorkers.sizePolicy().hasHeightForWidth())
        self.labelMaxWorkers.setSizePolicy(sizePolicy)
        self.labelMaxWorkers.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)

        self.gridLayout.addWidget(self.labelMaxWorkers, 2, 0, 1, 1)

        self.outFilePath = QLineEdit(self.gridLayoutWidget)
        self.outFilePath.setObjectName(u"outFilePath")
        self.outFilePath.setReadOnly(True)

        self.gridLayout.addWidget(self.outFilePath, 1, 1, 1, 1)

        self.btnNcmFile = QPushButton(self.gridLayoutWidget)
        self.btnNcmFile.setObjectName(u"btnNcmFile")

        self.gridLayout.addWidget(self.btnNcmFile, 0, 2, 1, 1)

        self.labelOutFilePath = QLabel(self.gridLayoutWidget)
        self.labelOutFilePath.setObjectName(u"labelOutFilePath")
        self.labelOutFilePath.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)

        self.gridLayout.addWidget(self.labelOutFilePath, 1, 0, 1, 1)

        self.btnOutFile = QPushButton(self.gridLayoutWidget)
        self.btnOutFile.setObjectName(u"btnOutFile")

        self.gridLayout.addWidget(self.btnOutFile, 1, 2, 1, 1)

        self.labelNcmFilePath = QLabel(self.gridLayoutWidget)
        self.labelNcmFilePath.setObjectName(u"labelNcmFilePath")
        self.labelNcmFilePath.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)

        self.gridLayout.addWidget(self.labelNcmFilePath, 0, 0, 1, 1)

        self.outputText = QTextEdit(self.gridLayoutWidget)
        self.outputText.setObjectName(u"outputText")
        self.outputText.setReadOnly(True)

        self.gridLayout.addWidget(self.outputText, 3, 0, 1, 4)

        self.maxWorkers = QSpinBox(self.gridLayoutWidget)
        self.maxWorkers.setObjectName(u"maxWorkers")
        self.maxWorkers.setMinimum(1)
        self.maxWorkers.setMaximum(32)
        self.maxWorkers.setValue(8)

        self.gridLayout.addWidget(self.maxWorkers, 2, 1, 1, 1)


        self.retranslateUi(Form)

        QMetaObject.connectSlotsByName(Form)
    # setupUi

    def retranslateUi(self, Form):
        Form.setWindowTitle(QCoreApplication.translate("Form", u"NCM\u683c\u5f0f\u8f6c\u6362\u5de5\u5177", None))
        self.btnTransform.setText(QCoreApplication.translate("Form", u"\u5f00\u59cb\u8f6c\u6362", None))
        self.labelMaxWorkers.setText(QCoreApplication.translate("Form", u"\u4f7f\u7528\u8fdb\u7a0b\u6570\uff1a", None))
        self.btnNcmFile.setText(QCoreApplication.translate("Form", u"\u9009\u62e9\u76ee\u5f55", None))
        self.labelOutFilePath.setText(QCoreApplication.translate("Form", u"\u8f93\u51fa\u6587\u4ef6\u76ee\u5f55\uff1a", None))
        self.btnOutFile.setText(QCoreApplication.translate("Form", u"\u9009\u62e9\u76ee\u5f55", None))
        self.labelNcmFilePath.setText(QCoreApplication.translate("Form", u"ncm\u6587\u4ef6\u76ee\u5f55\uff1a", None))
    # retranslateUi

